package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TMarketingReleaseHistoryExample;
import com.xingkeduo.model.po.TMarketingReleaseHistory;
import com.xingkeduo.model.po.TMarketingReleaseHistoryWithBLOBs;

public interface TMarketingReleaseHistoryMapper {
    int countByExample(TMarketingReleaseHistoryExample example);

    int deleteByExample(TMarketingReleaseHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingReleaseHistoryWithBLOBs record);

    int insertSelective(TMarketingReleaseHistoryWithBLOBs record);

    List<TMarketingReleaseHistoryWithBLOBs> selectByExampleWithBLOBs(TMarketingReleaseHistoryExample example);

    List<TMarketingReleaseHistory> selectByExample(TMarketingReleaseHistoryExample example);

    TMarketingReleaseHistoryWithBLOBs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingReleaseHistoryWithBLOBs record, @Param("example") TMarketingReleaseHistoryExample example);

    int updateByExampleWithBLOBs(@Param("record") TMarketingReleaseHistoryWithBLOBs record, @Param("example") TMarketingReleaseHistoryExample example);

    int updateByExample(@Param("record") TMarketingReleaseHistory record, @Param("example") TMarketingReleaseHistoryExample example);

    int updateByPrimaryKeySelective(TMarketingReleaseHistoryWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TMarketingReleaseHistoryWithBLOBs record);

    int updateByPrimaryKey(TMarketingReleaseHistory record);
}